home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 17 / CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso / CUCD / Programming / DiceSource / include / limits.h < prev    next >
C/C++ Source or Header  |  1994-02-01  |  663b  |  34 lines

  1.  
  2. /*
  3.  * $VER: limits.h 1.0 (17.4.93)
  4.  *
  5.  * (c)Copyright 1992 Obvious Implementations Corp, All Rights Reserved
  6.  */
  7.  
  8. #ifndef LIMITS_H
  9. #define LIMITS_H
  10.  
  11. #define CHAR_BIT    8
  12. #define CHAR_MAX    SCHAR_MAX
  13. #define CHAR_MIN    SCHAR_MIN
  14. #define SHRT_MAX    32767
  15. #define SHRT_MIN    -32768
  16. #define INT_MAX     2147483647
  17. #define INT_MIN     -2147483648
  18. #define LONG_MAX    2147483647
  19. #define LONG_MIN    -2147483648
  20.  
  21. #ifndef MB_LEN_MAX
  22. #define MB_LEN_MAX    2    /*  also set in stdlib.h    */
  23. #endif
  24.  
  25. #define SCHAR_MAX   127
  26. #define SCHAR_MIN   -128
  27. #define UCHAR_MAX   0xFF
  28. #define UINT_MAX    0xFFFFFFFF
  29. #define ULONG_MAX   0xFFFFFFFF
  30. #define USHRT_MAX   0xFFFF
  31.  
  32. #endif
  33.  
  34.